package com.lb.bs.client.adapter.simple;

import com.lb.bs.client.adapter.AbstractStarter;

/**
 * program: LB-BS-Client
 * author: bsworld.xie
 * create: 2020-05-19 15:49
 * description:
 */
public class SimpleStarter extends AbstractStarter {

    @Override
    protected void before() {
        //执行资源清理的操作
        Runtime.getRuntime().addShutdownHook(new Thread(() ->{
            super.destroyCore();
        }));
    }
}
